﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Person/Person.Master" AutoEventWireup="true" CodeBehind="setpwd.aspx.cs" Inherits="ZF.WS.Person.setpwd" %>

<%@ Register Src="/UserControls/SWFUpLoad.ascx" TagName="SWFUpLoad" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script>

    $(function() {

        $.formValidator.initConfig({ formid: document.forms[0].id, onerror: function(msg) { alert(msg) } });

        $(".tbOPwd").formValidator({ tipid: "tbOPwdTip", onshow: "请输入原始密码", onfocus: "请输入原始密码", oncorrect: " ", onempty: "请输入原始密码" })
    .inputValidator({ min: 1, onerror: "请输入原始密码" });

        $(".tbPassword").formValidator({ tipid: "tbPasswordTip", onshow: "6-16位的数字、字母、下划线 ", onfocus: "6-16位的数字、字母、下划线 ", oncorrect: " ", onempty: "6-16位的数字、字母、下划线 " })
    .inputValidator({ min: 6, onerror: "输入错误：密码不能少于6个字符" })
    .inputValidator({ max: 16, onerror: "输入错误：密码不能超过16个字符" });

        $(".tbPassword1").formValidator({ tipid: "tbPasswordTip1", onshow: "请重复输入密码 ", onfocus: "请重复输入密码 ", oncorrect: " ", onempty: "请重复输入密码 " })
.compareValidator({ desid: "<%=this.tbPassword.ClientID %>", operateor: "=", onerror: "2次密码不一致,请确认" });





    });
    
    </script>
 <div class="location   mt10_">
        您现在的位置：<a href="/person/index.aspx">会员中心</a> >> <a href="<%=this.Request.Url %>">修改密码</a>
    </div>
    <div>&nbsp;</div>
<div class="editContainer "> 
        <table class=" w100_  edit  edit1 ">
            <tbody>
                <tr>
                    <th colspan="4">
                        <div class="c">
                            密码修改
                        </div>
                    </th>
                </tr>
            </tbody>

            <tbody class="other  ">
                <tr  >
                    <td class="ll">
                        <div class="c">
                            <span class="xh_">*</span>原始密码：
                        </div>
                    </td>
                    <td class="lr" colspan="3">
                        <div class="c">
                            <zf:TextBox runat="server" ID="tbOPwd" TextMode="Password" class="txt"></zf:TextBox>
                            <span class="zx_" id="tbOPwdTip"></span>
                        </div>
                    </td>
                </tr>
   <tr>
                    <td class="ll">
                        <div class="c">
                            <span class="xh_">*</span>新密码：
                        </div>
                    </td>
                    <td class="lr" colspan="3">
                        <div class="c">
                            <zf:TextBox runat="server" ID="tbPassword"  TextMode="Password" class="txt"></zf:TextBox>
                            <span class="zx_" id="tbPasswordTip"></span>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="ll">
                        <div class="c">
                            <span class="xh_">*</span>确认密码：
                        </div>
                    </td>
                    <td class="lr" colspan="3">
                        <div class="c">
                            <zf:TextBox runat="server" ID="tbPassword1"  TextMode="Password" class="txt"></zf:TextBox>
                            <span class="zx_" id="tbPasswordTip1"></span>
                        </div>
                    </td>
                </tr>
            </tbody>
            <tbody>
                <tr class="b">
                    <td colspan="4">
                        <div>
                            <zf:Button ID="btAdd" class="linkbtn addSubmit" runat="server" OnClick="EditSubmit"
                                Text=" 修 改 "></zf:Button>
                            <input type="button" class="linkbtn" value=" 重 写 " onclick="doPage('<%= Request.Url %>');" />
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</asp:Content>
